package com.hdax.dm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hdax.dm.entity.base.DmArea;
import com.hdax.dm.mappers.AreaMapper;
import com.hdax.dm.service.AreaService;
import com.hdax.dm.utils.response.CommonResponse;
import com.hdax.dm.utils.response.ResponseUtil;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaSImpl extends ServiceImpl<AreaMapper, DmArea> implements AreaService {

    @Override
    public CommonResponse<List<DmArea>> querycity() {
        return ResponseUtil.returnSuccess(list());
    }
}
